package mysql

import "gorm.io/gorm"

// 帖子表
type Post struct {
	gorm.Model
	UserId int    `gorm:"type:int(40);comment:发布人id"`
	Name   string `gorm:"type:varchar(40);comment:贴子名"`
	Image  string `gorm:"type:varchar(40);comment:图片"`
	Like   int    `gorm:"type:int(40);comment:人点赞数"`
	BarId  int    `gorm:"type:int(40);comment:帖子id"`
}
